package com.spark.Service.impl;

import com.spark.Service.TagService;
import com.spark.mapper.TagMapper;
import com.spark.pojo.Tag;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TagServiceImpl implements TagService {
    @Autowired
    TagMapper tagMapper;

    @Override
    public List<Tag> selectTagsByUserId(String userId) {
        return tagMapper.selectDisTagsByUserId(userId);
    }
}
